package com.authsphere.security.configurer.social.user;

import com.authsphere.security.common.user.ErrorUserDetails;
import com.authsphere.security.configurer.social.entity.ThirdAuthorizationEntity;
import me.zhyd.oauth.model.AuthUser;

import java.io.Serial;

/**
 * @program: AuthSphere
 * @description:
 * @author: YuKai Fan
 * @create: 2025/3/22 11:26
 **/
public class ThirdAuthorizationNotBindUserDetails extends ErrorUserDetails {
    @Serial
    private static final long serialVersionUID = 8880299192625052215L;

    private final AuthUser authUser;

    private final ThirdAuthorizationEntity entity;

    public ThirdAuthorizationNotBindUserDetails(AuthUser authUser, ThirdAuthorizationEntity entity) {
        this.authUser = authUser;
        this.entity = entity;
    }

    public AuthUser getAuthUser() {
        return authUser;
    }

    public ThirdAuthorizationEntity getEntity() {
        return entity;
    }
}
